	
<link rel="stylesheet" href="css/eeleerMenu.css" />
<!--script type="text/javascript" src="Scripts/CenterMenu.js"></script-->  

<script type="text/javascript">

    $(function() 
    {
		<?
		//判断用户的权限，管理员的话显示所有菜单
		$Type = $_SESSION["userType"];

	    if($Type==0)    //普通会员
	    {
	    	$strSQL = "select * from CenterMenu m where (m.type=0 or m.type=9) and m.CancelFlag <> 1 order by m.pcode,m.code";
	    }
	    else if($Type==1)   //系统管理员
	    {	
	    	$strSQL = "select * from CenterMenu m where m.CancelFlag <> 1 order by m.pcode,m.code";
	    }

		$db = MySQL::getInstance('','r-w'); 
		$DBR=$db->query($strSQL); 
      	while($objMenu=$db->fetch($DBR))
		{
			?>
  			AddMenu('<?=$objMenu["Code"]?>','<?=$objMenu["MenuName"]?>','<?=$objMenu["ToURL"]?>','<?=$objMenu["PCode"]?>','<?=$objMenu["Target"]?>');
			<?	
		} 	
		?>

        BindEclipseFun();
    });

</script>


<div id="left-side">
	<div class="my-account-left">
		<div class="title">
			<div style="float:left;margin-left:15px;margin-top:4px;"><img src="images/Menu1.png" alt="" width="24" height="24" border="0"></div>
		  	<h3><?=$strMyManagerCenter;?></h3>
		</div>
		
		<!--div class="leftnav">  </div-->	
		<div id='page'>
			<div id='coolMenu-panel' class='grid-c2'>
				<div id='coolMenu-menu' class='box-diamond'>
					<div id='menuPad' class='coolMenu-bd'">
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
